package com.nineclock.api.system;

import com.nineclock.common.entity.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "短信发送接口", tags = "系统服务")
public interface SmsControllerApi {

    /**
     * 发送短信验证码
     * @param mobile
     * @param type
     * @return
     */
    @ApiOperation(value = "发送验证码短信")
    public Result sendSms(String mobile , String type);

    /**
     * 验证码校验
     * @param checkcode
     * @param mobile
     * @param type
     * @return
     */
    @ApiOperation(value = "验证码校验")
    public Result<Boolean> verify(String checkcode , String mobile ,String type);

}
